// Sound Interface
// (c) jimon game studio

#ifndef JEH_ISOUND
#define JEH_ISOUND

#include "jeUnknown.h"

namespace je
{
	namespace sound
	{
		//! Sound Interface
		class ISound:public je::jeUnknown
		{
		public:
			//! Destructor
			virtual ~ISound()
			{
			}

			//! Play
			virtual void Play() = 0;

			//! Stop
			virtual void Stop() = 0;

			//! Pause
			virtual void Pause(u1 Enable = true) = 0;

			//! Is Playing
			virtual u1 IsPlaying() = 0;

			//! Set Looped
			virtual void SetLooped(u1 Looped) = 0;

			//! Is Looped
			virtual u1 IsLooped() = 0;

			//! Set Volume (0 - 100)
			virtual void SetVolume(s32 Volume) = 0;

			//! Get Volume
			virtual s32 GetVolume() = 0;
		};
	}
}

#endif
